

<!DOCTYPE html>
<html lang="zh-CN">
  <head><meta name="generator" content="Hexo 3.9.0">
    <title>APIJSON</title>
    <meta charset="utf-8">
    <meta name="description" content="APIJSON - The Progressive JavaScript Framework">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <link rel="alternate" hreflang="x-default" href="https://vuejs.org/menu/index.html">
    <link rel="alternate" hreflang="zh" href="https://cn.vuejs.org/menu/index.html">
    <link rel="alternate" hreflang="ja" href="https://jp.vuejs.org/menu/index.html">
    <link rel="alternate" hreflang="ru" href="https://ru.vuejs.org/menu/index.html">
    <link rel="alternate" hreflang="ko" href="https://kr.vuejs.org/menu/index.html">
    <link rel="alternate" hreflang="pt-BR" href="https://br.vuejs.org/menu/index.html">
    <link rel="alternate" hreflang="fr" href="https://fr.vuejs.org/menu/index.html">

    <meta property="og:type" content="article">
    <meta property="og:title" content="APIJSON">
    <meta property="og:description" content="APIJSON - The Progressive JavaScript Framework">
    <meta property="og:image" content="https://cn.vuejs.org//images/logo.png">

    <meta name="twitter:card" content="summary">
    <meta name="twitter:title" content="APIJSON">
    <meta name="twitter:description" content="APIJSON - The Progressive JavaScript Framework">
    <meta name="twitter:image" content="https://cn.vuejs.org/images/logo.png">

    <link rel="apple-touch-icon" sizes="57x57" href="/images/icons/apple-icon-57x57.png">
    <link rel="apple-touch-icon" sizes="60x60" href="/images/icons/apple-icon-60x60.png">
    <link rel="apple-touch-icon" sizes="72x72" href="/images/icons/apple-icon-72x72.png">
    <link rel="apple-touch-icon" sizes="76x76" href="/images/icons/apple-icon-76x76.png">
    <link rel="apple-touch-icon" sizes="114x114" href="/images/icons/apple-icon-114x114.png">
    <link rel="apple-touch-icon" sizes="120x120" href="/images/icons/apple-icon-120x120.png">
    <link rel="apple-touch-icon" sizes="144x144" href="/images/icons/apple-icon-144x144.png">
    <link rel="apple-touch-icon" sizes="152x152" href="/images/icons/apple-icon-152x152.png">
    <link rel="apple-touch-icon" sizes="180x180" href="/images/icons/apple-icon-180x180.png">
    <link rel="icon" type="image/png" sizes="192x192" href="/images/icons/android-icon-192x192.png">
    <link rel="icon" type="image/png" sizes="32x32" href="/images/icons/favicon-32x32.png">
    <link rel="icon" type="image/png" sizes="96x96" href="/images/icons/favicon-96x96.png">
    <link rel="icon" type="image/png" sizes="16x16" href="/images/icons/favicon-16x16.png">
    <meta name="msapplication-TileImage" content="/images/icons/ms-icon-144x144.png">
    <link rel="icon" href="/images/logo.png" type="image/png">

    <meta name="msapplication-TileColor" content="#4fc08d">
    <meta name="theme-color" content="#4fc08d">

    <meta name="msapplication-config" content="browserconfig.xml">
    <link rel="manifest" href="/manifest.json">

    <!-- <link href='//fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600|Roboto Mono' rel='stylesheet' type='text/css'> -->
    <!-- <link href='//fonts.googleapis.com/css?family=Dosis:500&text=APIJSON' rel='stylesheet' type='text/css'> -->

    <link href="//code.bdstatic.com/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet" type="text/css">

    <!-- main page styles -->
    <link rel="stylesheet" href="/css/page.css">

    <!-- this needs to be loaded before guide's inline scripts -->
    <script src="/js/vue.js"></script>
    <script>
      Vue.config.productionTip = false
      window.PAGE_TYPE = "menu"
    </script>

    <!-- ga -->
    <script>
      (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
      (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
      m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
      })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

      ga('create', 'UA-46852172-3', 'cn.vuejs.org');
      ga('send', 'pageview');
    </script>
  </head>
  <body class="docs">
    <div id="mobile-bar">
      <a class="menu-button"></a>
      <a class="logo" href="/"></a>
    </div>
    <div id="header">
  <a id="logo" href="/">
    <img src="/images/logo.png" alt="vue logo">
    <span>APIJSON</span>
  </a>
  <iframe style="margin-left: 12px" src="https://ghbtns.com/github-btn.html?user=Tencent&amp;repo=APIJSON&amp;type=star&amp;count=true&amp;size=small" frameborder="0" scrolling="0" width="160px" height="18px"></iframe>
  <ul id="nav">
    <!--<li>-->
  <!--<form id="search-form">-->
    <!--<input type="text" id="search-query-nav" class="search-query st-default-search-input">-->
  <!--</form>-->
<!--</li>-->

<!-- FIXME 尝试加输入框，且点击后，浏览器打开新标签页，不行 -->
<!--<li>-->
  <!--<form id="search-form" style="position: absolute"  href="https://vincentcheng.github.io/apijson-doc/zh" target="_blank">-->
    <!--<input disabled type="text" id="search-query-nav" class="search-query st-default-search-input" >-->
  <!--</form>-->
  <!--<button style="width: 160px" href="https://vincentcheng.github.io/apijson-doc/zh" target="_blank"/>-->
<!--</li>-->

<li style="vertical-align: middle">
  <a href="https://gitee.com/Tencent/APIJSON" target="_blank">
    <img style="margin-bottom: -4px" height="24" width="60" src="https://gitee.com/logo-black.svg?20171024">
  </a>
</li>
<li><a href="https://vincentcheng.github.io/apijson-doc/zh" target="_blank" class="nav-link contribute">文档</a></li>
<li><a href="http://i.youku.com/apijson" target="_blank" class="nav-link contribute">视频</a></li>
<li><a href="https://github.com/search?o=desc&q=apijson&s=stars&type=Repositories" target="_blank" class="nav-link contribute">源码</a></li>


<!--<li class="nav-dropdown-container learn">
  <a class="nav-link">学习</a><span class="arrow"></span>
  <ul class="nav-dropdown">
    <li><h4>文档</h4></li>
    <li>
      <ul>
        <li><a href="/v2/guide/" class="nav-link">教程</a></li>
        <li><a href="/v2/api/" class="nav-link">API</a></li>
        <li><a href="/v2/style-guide/" class="nav-link">风格指南</a></li>
        <li><a href="/v2/examples/" class="nav-link">示例</a></li>
        <li><a href="/v2/cookbook/" class="nav-link">Cookbook</a></li>
      </ul>
    </li>
    <li><h4>视频教程</h4></li>
    <li>
      <ul>
        <li><a href="https://www.vuemastery.com/courses/" class="nav-link" target="_blank">Vue Mastery (英文)</a></li>
        <li><a href="https://vueschool.io/?friend=vuejs&utm_source=Vuejs.org&utm_medium=Link&utm_content=Navbar%20Dropdown" class="nav-link" target="_blank">Vue School (英文)</a></li>
      </ul>
    </li>
  </ul>
</li>
-->
<!--<li class="nav-dropdown-container ecosystem">
  <a class="nav-link">生态系统</a><span class="arrow"></span>
  <ul class="nav-dropdown">
    <li><h4>帮助</h4></li>
    <li><ul>
      <li><a href="https://forum.vuejs.org/" class="nav-link" target="_blank">论坛</a></li>
      <li><a href="https://chat.vuejs.org/" class="nav-link" target="_blank">聊天室</a></li>
      <li><a href="https://events.vuejs.org/meetups/" class="nav-link" target="_blank">聚会</a></li>
    </ul></li>
    <li><h4>工具</h4></li>
    <li>
      <ul>
        <li><a href="https://github.com/vuejs/vue-devtools" class="nav-link" target="_blank">Devtools</a></li>
        <li><a href="https://cli.vuejs.org/zh/" class="nav-link" target="_blank">Vue CLI</a></li>
        <li><a href="https://vue-loader.vuejs.org/zh/" class="nav-link" target="_blank">Vue Loader</a></li>
      </ul>
    </li>
    <li><h4>核心插件</h4></li>
    <li><ul>
      <li><a href="https://router.vuejs.org/zh/" class="nav-link" target="_blank">Vue Router</a></li>
      <li><a href="https://vuex.vuejs.org/zh/" class="nav-link" target="_blank">Vuex</a></li>
      <li><a href="https://ssr.vuejs.org/zh/" class="nav-link" target="_blank">Vue 服务端渲染</a></li>
    </ul></li>
    <li><h4>信息</h4></li>
    <li><ul>
      <li><a href="https://news.vuejs.org" class="nav-link" target="_blank">周刊</a></li>
      <li><a href="https://github.com/vuejs/vue/projects/6" class="nav-link" target="_blank">Roadmap</a></li>
      <li><a href="https://events.vuejs.org/" class="nav-link" target="_blank">活动</a></li>
      <li><a href="https://twitter.com/vuejs" class="nav-link" target="_blank">Twitter</a></li>
      <li><a href="https://medium.com/the-vue-point" class="nav-link" target="_blank">博客</a></li>
      <li><a href="https://vuejobs.com/?ref=vuejs" class="nav-link" target="_blank">工作</a></li>
    </ul></li>
    <li><h4>资源列表</h4></li>
    <li><ul>
      <li><a href="https://github.com/vuejs" class="nav-link" target="_blank">官方仓库</a></li>
      <li><a href="https://curated.vuejs.org/" class="nav-link" target="_blank">Vue 优选</a></li>
      <li><a href="https://github.com/vuejs/awesome-vue" class="nav-link" target="_blank">Vue 资源</a></li>
    </ul></li>
  </ul>
</li>
-->
<!--<li>-->
  <!--<a href="/v2/guide/team.html" class="nav-link team">团队</a>-->
<!--</li>-->
<!--<li class="nav-dropdown-container support-vue">
  <a href="/support-vuejs/" class="nav-link">支持 Vue</a><span class="arrow"></span>
  <ul class="nav-dropdown">
    <li><ul>
      <li><a href="/support-vuejs/#One-time-Donations" class="nav-link">一次性赞助</a></li>
      <li><a href="/support-vuejs/#Recurring-Pledges" class="nav-link">周期性赞助</a></li>
      <li><a href="https://www.smallsticker.com/%E8%B4%B4%E7%BA%B8/vue.html" class="nav-link">贴纸</a></li>
      <li><a href="https://vue.threadless.com" target="_blank" class="nav-link">T 恤商店</a></li>
    </ul></li>
  </ul>
</li>
-->
<!--<li class="nav-dropdown-container language">
  <a class="nav-link">多语言</a><span class="arrow"></span>
  <ul class="nav-dropdown">
    <li><a href="https://vuejs.org/menu/index.html" class="nav-link" target="_blank">English</a></li>
    <li><a href="https://jp.vuejs.org/menu/index.html" class="nav-link" target="_blank">日本語</a></li>
    <li><a href="https://ru.vuejs.org/menu/index.html" class="nav-link" target="_blank">Русский</a></li>
    <li><a href="https://kr.vuejs.org/menu/index.html" class="nav-link" target="_blank">한국어</a></li>
    <li><a href="https://br.vuejs.org/menu/index.html" class="nav-link" target="_blank">Português</a></li>
    <li><a href="https://fr.vuejs.org/menu/index.html" class="nav-link" target="_blank">Français</a></li>
    <li><a href="https://vi.vuejs.org/menu/index.html" class="nav-link" target="_blank">Tiếng Việt</a></li>
  </ul>
</li>
-->
<!--<li><a href="https://github.com/vuejs/cn.vuejs.org/" target="_blank" class="nav-link contribute">参与翻译</a></li>-->

  </ul>
</div>


      <div id="main" class="fix-sidebar">


  <div class="sidebar">
  <div class="sidebar-inner">
    <ul class="main-menu">
      <!--<li>-->
  <!--<form id="search-form">-->
    <!--<input type="text" id="search-query-sidebar" class="search-query st-default-search-input">-->
  <!--</form>-->
<!--</li>-->

<!-- FIXME 尝试加输入框，且点击后，浏览器打开新标签页，不行 -->
<!--<li>-->
  <!--<form id="search-form" style="position: absolute"  href="https://vincentcheng.github.io/apijson-doc/zh" target="_blank">-->
    <!--<input disabled type="text" id="search-query-sidebar" class="search-query st-default-search-input" >-->
  <!--</form>-->
  <!--<button style="width: 160px" href="https://vincentcheng.github.io/apijson-doc/zh" target="_blank"/>-->
<!--</li>-->

<li style="vertical-align: middle">
  <a href="https://gitee.com/Tencent/APIJSON" target="_blank">
    <img style="margin-bottom: -4px" height="24" width="60" src="https://gitee.com/logo-black.svg?20171024">
  </a>
</li>
<li><a href="https://vincentcheng.github.io/apijson-doc/zh" target="_blank" class="nav-link contribute">文档</a></li>
<li><a href="http://i.youku.com/apijson" target="_blank" class="nav-link contribute">视频</a></li>
<li><a href="https://github.com/search?o=desc&q=apijson&s=stars&type=Repositories" target="_blank" class="nav-link contribute">源码</a></li>


<!--<li class="nav-dropdown-container learn">
  <a class="nav-link">学习</a><span class="arrow"></span>
  <ul class="nav-dropdown">
    <li><h4>文档</h4></li>
    <li>
      <ul>
        <li><a href="/v2/guide/" class="nav-link">教程</a></li>
        <li><a href="/v2/api/" class="nav-link">API</a></li>
        <li><a href="/v2/style-guide/" class="nav-link">风格指南</a></li>
        <li><a href="/v2/examples/" class="nav-link">示例</a></li>
        <li><a href="/v2/cookbook/" class="nav-link">Cookbook</a></li>
      </ul>
    </li>
    <li><h4>视频教程</h4></li>
    <li>
      <ul>
        <li><a href="https://www.vuemastery.com/courses/" class="nav-link" target="_blank">Vue Mastery (英文)</a></li>
        <li><a href="https://vueschool.io/?friend=vuejs&utm_source=Vuejs.org&utm_medium=Link&utm_content=Navbar%20Dropdown" class="nav-link" target="_blank">Vue School (英文)</a></li>
      </ul>
    </li>
  </ul>
</li>
-->
<!--<li class="nav-dropdown-container ecosystem">
  <a class="nav-link">生态系统</a><span class="arrow"></span>
  <ul class="nav-dropdown">
    <li><h4>帮助</h4></li>
    <li><ul>
      <li><a href="https://forum.vuejs.org/" class="nav-link" target="_blank">论坛</a></li>
      <li><a href="https://chat.vuejs.org/" class="nav-link" target="_blank">聊天室</a></li>
      <li><a href="https://events.vuejs.org/meetups/" class="nav-link" target="_blank">聚会</a></li>
    </ul></li>
    <li><h4>工具</h4></li>
    <li>
      <ul>
        <li><a href="https://github.com/vuejs/vue-devtools" class="nav-link" target="_blank">Devtools</a></li>
        <li><a href="https://cli.vuejs.org/zh/" class="nav-link" target="_blank">Vue CLI</a></li>
        <li><a href="https://vue-loader.vuejs.org/zh/" class="nav-link" target="_blank">Vue Loader</a></li>
      </ul>
    </li>
    <li><h4>核心插件</h4></li>
    <li><ul>
      <li><a href="https://router.vuejs.org/zh/" class="nav-link" target="_blank">Vue Router</a></li>
      <li><a href="https://vuex.vuejs.org/zh/" class="nav-link" target="_blank">Vuex</a></li>
      <li><a href="https://ssr.vuejs.org/zh/" class="nav-link" target="_blank">Vue 服务端渲染</a></li>
    </ul></li>
    <li><h4>信息</h4></li>
    <li><ul>
      <li><a href="https://news.vuejs.org" class="nav-link" target="_blank">周刊</a></li>
      <li><a href="https://github.com/vuejs/vue/projects/6" class="nav-link" target="_blank">Roadmap</a></li>
      <li><a href="https://events.vuejs.org/" class="nav-link" target="_blank">活动</a></li>
      <li><a href="https://twitter.com/vuejs" class="nav-link" target="_blank">Twitter</a></li>
      <li><a href="https://medium.com/the-vue-point" class="nav-link" target="_blank">博客</a></li>
      <li><a href="https://vuejobs.com/?ref=vuejs" class="nav-link" target="_blank">工作</a></li>
    </ul></li>
    <li><h4>资源列表</h4></li>
    <li><ul>
      <li><a href="https://github.com/vuejs" class="nav-link" target="_blank">官方仓库</a></li>
      <li><a href="https://curated.vuejs.org/" class="nav-link" target="_blank">Vue 优选</a></li>
      <li><a href="https://github.com/vuejs/awesome-vue" class="nav-link" target="_blank">Vue 资源</a></li>
    </ul></li>
  </ul>
</li>
-->
<!--<li>-->
  <!--<a href="/v2/guide/team.html" class="nav-link team">团队</a>-->
<!--</li>-->
<!--<li class="nav-dropdown-container support-vue">
  <a href="/support-vuejs/" class="nav-link">支持 Vue</a><span class="arrow"></span>
  <ul class="nav-dropdown">
    <li><ul>
      <li><a href="/support-vuejs/#One-time-Donations" class="nav-link">一次性赞助</a></li>
      <li><a href="/support-vuejs/#Recurring-Pledges" class="nav-link">周期性赞助</a></li>
      <li><a href="https://www.smallsticker.com/%E8%B4%B4%E7%BA%B8/vue.html" class="nav-link">贴纸</a></li>
      <li><a href="https://vue.threadless.com" target="_blank" class="nav-link">T 恤商店</a></li>
    </ul></li>
  </ul>
</li>
-->
<!--<li class="nav-dropdown-container language">
  <a class="nav-link">多语言</a><span class="arrow"></span>
  <ul class="nav-dropdown">
    <li><a href="https://vuejs.org/menu/index.html" class="nav-link" target="_blank">English</a></li>
    <li><a href="https://jp.vuejs.org/menu/index.html" class="nav-link" target="_blank">日本語</a></li>
    <li><a href="https://ru.vuejs.org/menu/index.html" class="nav-link" target="_blank">Русский</a></li>
    <li><a href="https://kr.vuejs.org/menu/index.html" class="nav-link" target="_blank">한국어</a></li>
    <li><a href="https://br.vuejs.org/menu/index.html" class="nav-link" target="_blank">Português</a></li>
    <li><a href="https://fr.vuejs.org/menu/index.html" class="nav-link" target="_blank">Français</a></li>
    <li><a href="https://vi.vuejs.org/menu/index.html" class="nav-link" target="_blank">Tiếng Việt</a></li>
  </ul>
</li>
-->
<!--<li><a href="https://github.com/vuejs/cn.vuejs.org/" target="_blank" class="nav-link contribute">参与翻译</a></li>-->

    </ul>
    <div class="list">
      <div id="sidebar-sponsors-special">
  <div class="main-sponsor">
    <span>特别赞助商</span>
    <div>
      <a href="http://www.dcloud.io/?hmsr=vuejsorg&hmpl=&hmcu=&hmkw=&hmci=" target="_blank" class="logo">
      <img src="/images/dcloud.gif" alt>
    </a>
    </div>
  </div>
</div>

<!--
<div id="sidebar-sponsors-platinum-left">
  <div class="main-sponsor">
    <span>白金赞助商</span>
    <div>
    <a href="http://www.transsion.com" target="_blank" class="logo">
      <img src="/images/www.transsion.com.jpeg" alt="TRANSSION">
    </a>
    <a href="http://www.8soo.com" target="_blank" class="logo">
      <img src="/images/www.8sso.com.jpeg" alt="八搜券">
    </a>
    <a href="http://shebaochina.com" target="_blank" class="logo">
      <img src="/images/shebaochina.com.png" alt="社保科技">
    </a>
    <a href="http://www.xxwolo.com" target="_blank" class="logo">
      <img src="/images/www.xxwolo.com.jpeg" alt="星星网络">
    </a>
    <a href="http://www.aipaipai-inc.com" target="_blank" class="logo">
      <img src="/images/www.aipaipai-inc.com.png" alt="爱拍拍">
    </a>
    <a href="https://www.shulian8.com" target="_blank" class="logo">
      <img src="/images/www.shulian8.com.png" alt="树联智能">
    </a>
    <a href="http://www.hec-bang.com" target="_blank" class="logo">
      <img src="/images/www.hec-bang.com.png" alt="华张科技">
    </a>
    <a href="http://www.xmfish.com" target="_blank" class="logo">
      <img src="/images/www.xmfish.com.gif" alt="厦门小鱼">
    </a>
    <a href="http://juting.vip" target="_blank" class="logo">
      <img src="/images/juting.vip.png" alt="聚听有声">
    </a>
    </div>
  </div>
  <a class="become-backer" href="/support-vuejs">
    登记使用
  </a>
</div>

-->


        <h2>

          教程

            <select class="version-select">
              <option value="SELF" selected>2.x</option>
              <option value="v1">1.0</option>
              <option value="012">0.12</option>
              <option value="011">0.11</option>
            </select>

        </h2>
        <ul class="menu-root">




        <li><h3>基础</h3></li>










    <li>
      <a href="/v2/guide/installation.html" class="sidebar-link">安装</a>
    </li>













    <li>
      <a href="/v2/guide/index.html" class="sidebar-link">介绍</a>
    </li>













    <li>
      <a href="/v2/guide/instance.html" class="sidebar-link">Vue 实例</a>
    </li>













    <li>
      <a href="/v2/guide/syntax.html" class="sidebar-link">模板语法</a>
    </li>













    <li>
      <a href="/v2/guide/computed.html" class="sidebar-link">计算属性和侦听器</a>
    </li>













    <li>
      <a href="/v2/guide/class-and-style.html" class="sidebar-link">Class 与 Style 绑定</a>
    </li>













    <li>
      <a href="/v2/guide/conditional.html" class="sidebar-link">条件渲染</a>
    </li>













    <li>
      <a href="/v2/guide/list.html" class="sidebar-link">列表渲染</a>
    </li>













    <li>
      <a href="/v2/guide/events.html" class="sidebar-link">事件处理</a>
    </li>













    <li>
      <a href="/v2/guide/forms.html" class="sidebar-link">表单输入绑定</a>
    </li>













    <li>
      <a href="/v2/guide/components.html" class="sidebar-link">组件基础</a>
    </li>





        <li><h3>深入了解组件</h3></li>









    <li>
      <a href="/v2/guide/components-registration.html" class="sidebar-link">组件注册</a>
    </li>













    <li>
      <a href="/v2/guide/components-props.html" class="sidebar-link">Prop</a>
    </li>













    <li>
      <a href="/v2/guide/components-custom-events.html" class="sidebar-link">自定义事件</a>
    </li>













    <li>
      <a href="/v2/guide/components-slots.html" class="sidebar-link">插槽</a>
    </li>













    <li>
      <a href="/v2/guide/components-dynamic-async.html" class="sidebar-link">动态组件 & 异步组件</a>
    </li>













    <li>
      <a href="/v2/guide/components-edge-cases.html" class="sidebar-link">处理边界情况</a>
    </li>






        <li><h3>过渡 & 动画</h3></li>








    <li>
      <a href="/v2/guide/transitions.html" class="sidebar-link">进入/离开 & 列表过渡</a>
    </li>













    <li>
      <a href="/v2/guide/transitioning-state.html" class="sidebar-link">状态过渡</a>
    </li>







        <li><h3>可复用性 & 组合</h3></li>







    <li>
      <a href="/v2/guide/mixins.html" class="sidebar-link">混入</a>
    </li>













    <li>
      <a href="/v2/guide/custom-directive.html" class="sidebar-link">自定义指令</a>
    </li>













    <li>
      <a href="/v2/guide/render-function.html" class="sidebar-link">渲染函数 & JSX</a>
    </li>













    <li>
      <a href="/v2/guide/plugins.html" class="sidebar-link">插件</a>
    </li>













    <li>
      <a href="/v2/guide/filters.html" class="sidebar-link">过滤器</a>
    </li>








        <li><h3>工具</h3></li>






    <li>
      <a href="/v2/guide/single-file-components.html" class="sidebar-link">单文件组件</a>
    </li>













    <li>
      <a href="/v2/guide/unit-testing.html" class="sidebar-link">单元测试</a>
    </li>













    <li>
      <a href="/v2/guide/typescript.html" class="sidebar-link">TypeScript 支持</a>
    </li>













    <li>
      <a href="/v2/guide/deployment.html" class="sidebar-link">生产环境部署</a>
    </li>









        <li><h3>规模化</h3></li>





    <li>
      <a href="/v2/guide/routing.html" class="sidebar-link">路由</a>
    </li>













    <li>
      <a href="/v2/guide/state-management.html" class="sidebar-link">状态管理</a>
    </li>













    <li>
      <a href="/v2/guide/ssr.html" class="sidebar-link">服务端渲染</a>
    </li>










        <li><h3>内在</h3></li>




    <li>
      <a href="/v2/guide/reactivity.html" class="sidebar-link">深入响应式原理</a>
    </li>











        <li><h3>迁移</h3></li>



    <li>
      <a href="/v2/guide/migration.html" class="sidebar-link">从 Vue 1.x 迁移</a>
    </li>













    <li>
      <a href="/v2/guide/migration-vue-router.html" class="sidebar-link">从 Vue Router 0.7.x 迁移</a>
    </li>













    <li>
      <a href="/v2/guide/migration-vuex.html" class="sidebar-link">从 Vuex 0.6.x 迁移到 1.0</a>
    </li>












        <li><h3>更多</h3></li>


    <li>
      <a href="/v2/guide/comparison.html" class="sidebar-link">对比其他框架</a>
    </li>













    <li>
      <a href="/v2/guide/join.html" class="sidebar-link">加入 APIJSON 社区</a>
    </li>













    <li>
      <a href="/v2/guide/team.html" class="sidebar-link">认识团队</a>
    </li>

</ul>


    </div>
  </div>
</div>

<!--
<div id="sidebar-sponsors-platinum-right">
  <div class="main-sponsor">
    <span>白金赞助商</span>
    <div>
    <a href="http://www.transsion.com" target="_blank" class="logo">
      <img src="/images/www.transsion.com.jpeg" alt="TRANSSION">
    </a>
    <a href="http://www.8soo.com" target="_blank" class="logo">
      <img src="/images/www.8sso.com.jpeg" alt="八搜券">
    </a>
    <a href="http://shebaochina.com" target="_blank" class="logo">
      <img src="/images/shebaochina.com.png" alt="社保科技">
    </a>
    <a href="http://www.xxwolo.com" target="_blank" class="logo">
      <img src="/images/www.xxwolo.com.jpeg" alt="星星网络">
    </a>
    <a href="http://www.aipaipai-inc.com" target="_blank" class="logo">
      <img src="/images/www.aipaipai-inc.com.png" alt="爱拍拍">
    </a>
    <a href="https://www.shulian8.com" target="_blank" class="logo">
      <img src="/images/www.shulian8.com.png" alt="树联智能">
    </a>
    <a href="http://www.hec-bang.com" target="_blank" class="logo">
      <img src="/images/www.hec-bang.com.png" alt="华张科技">
    </a>
    <a href="http://www.xmfish.com" target="_blank" class="logo">
      <img src="/images/www.xmfish.com.gif" alt="厦门小鱼">
    </a>
    <a href="http://juting.vip" target="_blank" class="logo">
      <img src="/images/juting.vip.png" alt="聚听有声">
    </a>
    </div>
  </div>
  <a class="become-backer" href="/support-vuejs">
    登记使用
  </a>
</div>

-->


<div class="content menu with-sidebar ">


      <form id="search-form">
        <input type="text" id="search-query-menu" class="search-query st-default-search-input">
      </form>
      <ul class="menu-root">




        <li><h3>基础</h3></li>










    <li>
      <a href="/v2/guide/installation.html" class="sidebar-link">安装</a>
    </li>













    <li>
      <a href="/v2/guide/index.html" class="sidebar-link">介绍</a>
    </li>













    <li>
      <a href="/v2/guide/instance.html" class="sidebar-link">Vue 实例</a>
    </li>













    <li>
      <a href="/v2/guide/syntax.html" class="sidebar-link">模板语法</a>
    </li>













    <li>
      <a href="/v2/guide/computed.html" class="sidebar-link">计算属性和侦听器</a>
    </li>













    <li>
      <a href="/v2/guide/class-and-style.html" class="sidebar-link">Class 与 Style 绑定</a>
    </li>













    <li>
      <a href="/v2/guide/conditional.html" class="sidebar-link">条件渲染</a>
    </li>













    <li>
      <a href="/v2/guide/list.html" class="sidebar-link">列表渲染</a>
    </li>













    <li>
      <a href="/v2/guide/events.html" class="sidebar-link">事件处理</a>
    </li>













    <li>
      <a href="/v2/guide/forms.html" class="sidebar-link">表单输入绑定</a>
    </li>













    <li>
      <a href="/v2/guide/components.html" class="sidebar-link">组件基础</a>
    </li>





        <li><h3>深入了解组件</h3></li>









    <li>
      <a href="/v2/guide/components-registration.html" class="sidebar-link">组件注册</a>
    </li>













    <li>
      <a href="/v2/guide/components-props.html" class="sidebar-link">Prop</a>
    </li>













    <li>
      <a href="/v2/guide/components-custom-events.html" class="sidebar-link">自定义事件</a>
    </li>













    <li>
      <a href="/v2/guide/components-slots.html" class="sidebar-link">插槽</a>
    </li>













    <li>
      <a href="/v2/guide/components-dynamic-async.html" class="sidebar-link">动态组件 & 异步组件</a>
    </li>













    <li>
      <a href="/v2/guide/components-edge-cases.html" class="sidebar-link">处理边界情况</a>
    </li>






        <li><h3>过渡 & 动画</h3></li>








    <li>
      <a href="/v2/guide/transitions.html" class="sidebar-link">进入/离开 & 列表过渡</a>
    </li>













    <li>
      <a href="/v2/guide/transitioning-state.html" class="sidebar-link">状态过渡</a>
    </li>







        <li><h3>可复用性 & 组合</h3></li>







    <li>
      <a href="/v2/guide/mixins.html" class="sidebar-link">混入</a>
    </li>













    <li>
      <a href="/v2/guide/custom-directive.html" class="sidebar-link">自定义指令</a>
    </li>













    <li>
      <a href="/v2/guide/render-function.html" class="sidebar-link">渲染函数 & JSX</a>
    </li>













    <li>
      <a href="/v2/guide/plugins.html" class="sidebar-link">插件</a>
    </li>













    <li>
      <a href="/v2/guide/filters.html" class="sidebar-link">过滤器</a>
    </li>








        <li><h3>工具</h3></li>






    <li>
      <a href="/v2/guide/single-file-components.html" class="sidebar-link">单文件组件</a>
    </li>













    <li>
      <a href="/v2/guide/unit-testing.html" class="sidebar-link">单元测试</a>
    </li>













    <li>
      <a href="/v2/guide/typescript.html" class="sidebar-link">TypeScript 支持</a>
    </li>













    <li>
      <a href="/v2/guide/deployment.html" class="sidebar-link">生产环境部署</a>
    </li>









        <li><h3>规模化</h3></li>





    <li>
      <a href="/v2/guide/routing.html" class="sidebar-link">路由</a>
    </li>













    <li>
      <a href="/v2/guide/state-management.html" class="sidebar-link">状态管理</a>
    </li>













    <li>
      <a href="/v2/guide/ssr.html" class="sidebar-link">服务端渲染</a>
    </li>










        <li><h3>内在</h3></li>




    <li>
      <a href="/v2/guide/reactivity.html" class="sidebar-link">深入响应式原理</a>
    </li>











        <li><h3>迁移</h3></li>



    <li>
      <a href="/v2/guide/migration.html" class="sidebar-link">从 Vue 1.x 迁移</a>
    </li>













    <li>
      <a href="/v2/guide/migration-vue-router.html" class="sidebar-link">从 Vue Router 0.7.x 迁移</a>
    </li>













    <li>
      <a href="/v2/guide/migration-vuex.html" class="sidebar-link">从 Vuex 0.6.x 迁移到 1.0</a>
    </li>












        <li><h3>更多</h3></li>


    <li>
      <a href="/v2/guide/comparison.html" class="sidebar-link">对比其他框架</a>
    </li>













    <li>
      <a href="/v2/guide/join.html" class="sidebar-link">加入 APIJSON 社区</a>
    </li>













    <li>
      <a href="/v2/guide/team.html" class="sidebar-link">认识团队</a>
    </li>

</ul>





  <div class="ad-pagetop">
  <a href="http://www.tp-shop.cn/index.php?http_referer=vuejs" target="_blank" rel="noopener noreferrer">
    <span class="name">TPshop</span>
    <span class="description">中国免费商城系统 - 搜豹商城系统</span>
    <span class="action">立即查看 &gt;</span>
  </a>
</div>






  <div class="footer">
      <script src="//m.servedby-buysellads.com/monetization.js" type="text/javascript"></script>
<div class="bsa-cpc"></div>
<script>
  (function(){
    if(typeof _bsa !== 'undefined' && _bsa) {
    _bsa.init('default', 'CKYD62QM', 'placement:vuejsorg', {
      target: '.bsa-cpc',
      align: 'horizontal',
      disable_css: 'true'
    });
      }
  })();
</script>

    发现错误？想参与编辑？
    <a href="https://github.com/vuejs/cn.vuejs.org/blob/master/src/menu/index.md" target="_blank">
      在 GitHub 上编辑此页！
    </a>
  </div>
</div>


      </div>
      <script src="/js/smooth-scroll.min.js"></script>


    <!-- main custom script for sidebars, version selects etc. -->
    <script src="/js/css.escape.js"></script>
    <script src="/js/common.js"></script>

    <!-- search -->
    <link href="//code.bdstatic.com/npm/docsearch.js@1.5.0/dist/cdn/docsearch.min.css" rel="stylesheet" type="text/css">
    <link rel="stylesheet" href="/css/search.css">
    <script src="//code.bdstatic.com/npm/docsearch.js@1.5.0/dist/cdn/docsearch.min.js"></script>
    <script>
    [
      '#search-query-nav',
      '#search-query-sidebar',
      '#search-query-menu'
    ].forEach(function (selector) {
      if (!document.querySelector(selector)) return
      // search index defaults to v2
      var match = window.location.pathname.match(/^\/(v\d+)/)
      var version = match ? match[1] : 'v2'
      docsearch({
      appId: 'BH4D9OD16A',
      apiKey: '5638280abff9d207417bb03be05f0b25',
      indexName: 'vuejs_cn2',
      inputSelector: selector,
      algoliaOptions: { facetFilters: ["version:" + version] },
      autocompleteOptions: { hint: false, appendTo: 'body'}
      })
    })
    </script>

    <!-- fastclick -->
    <script src="//code.bdstatic.com/npm/fastclick@1.0.6/lib/fastclick.js"></script>
    <script>
    document.addEventListener('DOMContentLoaded', function() {
      FastClick.attach(document.body)
    }, false)
    </script>
  </body>
</html>
